<template>
  <div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue'

export default {
  data () {
    return {
      cdata: {
        // X轴坐标
        category: [
          "2021-05-7",
          "2021-05-8",
          "2021-05-9",
          "2021-05-10",
          "2021-05-11"
        ],
        // 新增本土
        lineData: [
          0,
          0,
          0,
          0,
          0,
        ],
        // 新增境外
        barData: [
          0,
          0,
          0,
          0,
          4
        ]
      }
    };
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
};
</script>

<style lang="scss" scoped>
</style>
